package com.example.SpringBootMybatis.mapper;

import com.example.SpringBootMybatis.entity.Form;
import com.example.SpringBootMybatis.entity.Prediction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface PredictionMapper {
    public List<Prediction> onSubmit(@Param("form") Form form);

    public int getTotal();
}
